package com.mindskip.xzs.service;

import com.mindskip.xzs.dto.CorrectingDto;

import java.util.List;

public interface CorrectingService{
    /**
     * 根据学科id查询
     * @param subjectId
     * @return
     */
    List<CorrectingDto> getPendingPapers(Integer subjectId);

    /**
     * 试卷详细
     * @return
     */
    CorrectingDto getPaperDetail(Integer paperId);

    /**
     * 提交批改
     * @param paperId
     * @param correctedAnswers
     */
    void gradePaper(Integer paperId, List<CorrectingDto> correctedAnswers);

}
